/**
 * TP GRUPO _ 
 * ALGORITMOS Y PROGRAMACION III
 */

package modelo;

/**
 * @author Grupo _
 */

public class Valor{
	
	private double x;
	private double fX;
				
	public Valor(double x,double fX){
		this.x=x;
		this.fX=fX;
		
	}

	
	public double getFx() {
		return fX;
	}


	public double getX() {
		return x;
	}
	
	public String toString(){
		return " x= "+x+", f(x)= "+fX+"     ;";
	}

	
}			
                       
